package com.example.common.mvvm;

import com.example.network_sdk.BaseEntity;

import org.jetbrains.annotations.NotNull;

import io.reactivex.functions.Function;

public class RxFunction<T extends BaseEntity>
        implements Function<T,BaseEntity> {
    @Override
    public BaseEntity apply(@NotNull T t) throws Exception {
        return t;
    }
}
